﻿<Canvas x:Name="parentCanvas"
        xmlns="http://schemas.microsoft.com/client/2007" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:local="clr-namespace:SilverglobeSample"
        xmlns:globe="clr-namespace:SilverGlobe;assembly=SilverGlobe"
        x:Class="SilverglobeSample.Page"
        Width="640" Height="480"
>
    <Canvas.Background>
        <LinearGradientBrush StartPoint="0,0" EndPoint="640,480" MappingMode="Absolute">
            <GradientStop Color="#FF003366" Offset="0"/>
            <GradientStop Color="#FF66CCFF" Offset="1"/>
        </LinearGradientBrush>
    </Canvas.Background>

    <Rectangle Width="640" Height="48" Fill="#66256B9E"  />

    <Image Source="images/silverglobe.png" Stretch="None" Canvas.Left="14" Canvas.Top="13" />

    <Rectangle Width="640" Height="24" Fill="#44FFFFFF">
        <!--<Rectangle.Fill>
      <LinearGradientBrush StartPoint="0,0" EndPoint="0,24" MappingMode="Absolute">
        <GradientStop Color="#22FFFFFF" Offset="0"/>
        <GradientStop Color="#44FFFFFF" Offset="0.4"/>
        <GradientStop Color="#66FFFFFF" Offset="1"/>
      </LinearGradientBrush>
    </Rectangle.Fill>-->
    </Rectangle>

    <Rectangle Stroke="#66256B9E" Fill="#AAFFFFFF"
             Width="600" Height="20"
             Canvas.Left="20" Canvas.Top="435"
             />

    <TextBlock Foreground="#FF032B51"
             FontSize="11" FontFamily="Verdana"
             Canvas.Left="32" Canvas.Top="438"
  >Click and drag the globe with the mouse or select a location by clicking on one of the orange points.</TextBlock>

    <Ellipse Width="350" Height="350" Canvas.Left="25" Canvas.Top="67">
        <Ellipse.Fill>
            <RadialGradientBrush Center="0.5,0.5" MappingMode="RelativeToBoundingBox">
                <GradientStop Color="#FFFFFFFF" Offset="0" />
                <GradientStop Color="#FFFFFFFF" Offset="0.9" />
                <GradientStop Color="#88FFFFFF" Offset="0.9" />
                <GradientStop Color="#00FFFFFF" Offset="1" />
            </RadialGradientBrush>
        </Ellipse.Fill>
    </Ellipse>

    <globe:SilverGlobeControl x:Name="_silverGlobe" Canvas.Left="-40" Canvas.Top="3" />

    <local:LocationInfo x:Name="_locationInfo" Canvas.Left="408" Canvas.Top="353"  />

    <local:EventInfo x:Name="_eventInfo" Canvas.Left="408" Canvas.Top="109" />
    

</Canvas>